package cn.wolfcode.web.service;

import cn.wolfcode.web.domain.Permission;
import cn.wolfcode.web.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void delete(Long id);

    void  save(Permission permission);

    Permission get(Long id);

    List<Permission> listAll();

    void update(Permission permission);
    PageInfo query(QueryObject qo);

    void reroad();

    List<String> selectByEmpId(Long id);
}